﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace SmartParking.Model
{
    [Index(nameof(LicensePlateNumber), IsUnique = true)]
    public class Car : AuditedAggregateRoot<Guid>
    {
        public Car(Guid id)
        {
            Id = id;
        }
        public string LicensePlateNumber { get; set; }
    }
}
